SOLVED - UBIFS partition mounting at startup [closed]
Posted
by
Bartlomiej Grzeskowiak
on Stack Overflow
See other posts from Stack Overflow
or by Bartlomiej Grzeskowiak
Published on 2012-11-20T14:15:49Z
Indexed on
2012/11/21
17:00 UTC
Read the original article
Hit count: 229
[SOLVED] - add ubi.mtd=volume_name to bootargs in uboot
I want to mount UBIFS partition via /etc/fstab at startup. I created UBIFS and Volume:
# ubiformat /dev/mtdX
# ubiattach -p /dev/mtdX
# ubimkvol /dev/ubi0 -N volume_name -s 64MiB
# ubiupdatevol /dev/ubi0_0 /path/to/ubifs.img
# mount -t ubifs ubi0:volume_name /mount/point
but after reboot this line in etc/fstab doesn't work:
ubi0:volume_name /mnt/user ubifs defaults 0 0
There is no fs mounted in /mnt/user. Also when I try to call mount -a:
mount: mounting ubi0:volume_name on /mnt/user failed: No such device
There are no ubi0,ubi0_0 in /dev. I also don't see any UBI calls in dmesg like here: UBIFS boot error
© Stack Overflow or respective owner